package com.myk.game.gobangchess.beans;

import java.util.List;

/**
 * 房间对弈情况实体
 */
public class ChessPlayingBean {

    private String className;
    private String chessName;
    private List<PlayingRecordBean> recordList;

    public ChessPlayingBean(String className, String chessName, List<PlayingRecordBean> recordList) {
        this.className = className;
        this.chessName = chessName;
        this.recordList = recordList;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getChessName() {
        return chessName;
    }

    public void setChessName(String chessName) {
        this.chessName = chessName;
    }

    public List<PlayingRecordBean> getRecordList() {
        return recordList;
    }

    public void setRecordList(List<PlayingRecordBean> recordList) {
        this.recordList = recordList;
    }

    /**
     * 对弈记录实体
     */
    public static class PlayingRecordBean {
        private String playerBlack;
        private String playerWhite;
        private String playingTime;

        public PlayingRecordBean(String playerBlack, String playerWhite, String playingTime) {
            this.playerBlack = playerBlack;
            this.playerWhite = playerWhite;
            this.playingTime = playingTime;
        }

        public String getPlayerBlack() {
            return playerBlack;
        }

        public void setPlayerBlack(String playerBlack) {
            this.playerBlack = playerBlack;
        }

        public String getPlayerWhite() {
            return playerWhite;
        }

        public void setPlayerWhite(String playerWhite) {
            this.playerWhite = playerWhite;
        }

        public String getPlayingTime() {
            return playingTime;
        }

        public void setPlayingTime(String playingTime) {
            this.playingTime = playingTime;
        }
    }
}
